package com.example.smartlearning.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 新闻实体类
 */
@Data
@TableName(value = "news")
public class NewEntity {
    @TableId("new_id")
    private int newId;
    private String newTitle;
    private String newDetail;
    private String createTime;
    private String newSort;
    private int newUser;
    private String newInImg;
    private String newImg;
    private String newImgIntro;//新闻图片介绍
}
